home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 1.iso
/
ARGONET
/
PD
/
MATHS
/
RLAB
/
RLAB125.ZIP
/
!RLaB
/
help_jr
/
open
< prev
next >
Wrap
Text File
|
1994-08-31
|
801b
|
29 lines
open:
Synopsis: open a file for read/write operations.
Syntax: open ( FILENAME, MODE )
open ( FILENAME, MODE, BUFFSIZE )
Description:
Open will open a file or a pipe for read or write
operations. Open allows the user to specify the mode of
operation, and optionally a buffer-size for I/O. The "normal"
UNIX modes are:
MODE: "r" read access
"w" write access
"a" append: open for writing at end of file, or
create for writing
BUFFSIZE: Buffersize is specified in bytes. If BUFFSIZE
is not specified the system defaults are used.
Other operating systems may have different mode keys. Look at
the API documentation for fopen() on your system to find what
mode values are acceptable.
See Also: FILES close, printf, fprintf, read, readb, readm, write,
writeb, writem